package com.sunchp.nio.sample.thrift;

import java.io.Closeable;

public interface ServerTransport extends Closeable {
    void listen() throws TransportException;

    Transport accept() throws TransportException;

    void interrupt();
}
